package com.ljf.app2;

import com.ljf.framework.filter.LjfAbstractFilter;
import org.springframework.stereotype.Component;

import javax.servlet.*;
import java.io.IOException;

/**
 * 说明：
 *
 * @Auther: lijinfeng
 * @Date: 2024/4/23
 */
@Component
public class MyFilter extends LjfAbstractFilter implements Filter {

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {

        System.out.println("MyFilter执行了------");





        filterChain.doFilter(servletRequest,servletResponse);
    }


    @Override
    public boolean doCusFilter() {
        return false;
    }

    @Override
    public Integer getOrder() {
        return 100;
    }
}
